package com.java.simple.study.juc.p3;

/**
 * @author zhoujl
 * @date 2022/5/8 15:17
 * @desc
 */
public class Synchonized {

    static final Object lock = new Object();
    static int counter = 0;

    public static void main(String[] args) {
        synchronized (lock) {
            counter++;
        }
    }

}
